/**
 * 
 */
package com.nari.heatshare.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.nari.coreframe.service.IGenericService;
import com.nari.heatshare.model.ITempPointDataStatistics;
import com.nari.heatshare.model.ITemperaturePointDataGather;
import com.nari.heatshare.utils.queryvo.TempPointDataStatisExtendQuery;
import com.nari.platform.model.PageCond;
import com.nari.platform.model.ResponseMsg;
import com.nari.platform.model.ResultWithPageCond;

/**
 * 
 * @author Xiaopeng
 * @date 2014-3-17
 */
public interface ITempPointDataStatisticsService extends IGenericService<ITempPointDataStatistics, String> {

	/**
	 * 保存批量上传的温度点数据
	 * @param tempPointDataList
	 * @param concentratorNo
	 * @param recordTime
	 * @param dataType
	 * @return
	 * @throws Exception
	 * @author Xiaopeng
	 * @date 2014-12-27
	 */
	public ResponseMsg saveOrUpdateTempPointDataBatch(List<ITemperaturePointDataGather> tempPointDataList, 
			String concentratorNo, Date recordTime, Integer dataType) throws Exception;
	
	/**
	 * 分页查询温度点数据统计信息
	 * @param concentratorNo
	 * @param recordTime
	 * @param pageCond
	 * @return
	 * @throws Exception
	 * @author Xiaopeng
	 * @date 2014-3-23
	 */
	public ResultWithPageCond<ITempPointDataStatistics> queryStatisPage(String concentratorNo, 
			String recordTime, PageCond pageCond) throws Exception;
	
	/**
	 * 删除温度点数据批次任务信息
	 * @param tpDataStatisUID
	 * @return
	 * @throws Exception
	 * @author Xiaopeng
	 * @date 2014-4-9
	 */
	public ResponseMsg deleteTempPointDataBatch(String tpDataStatisUID) throws Exception;
	
	/**
	 * 根据温度点数据批次列表查询其对应的档案资料扩展信息
	 * @param tpdStatisList
	 * @return
	 * @throws Exception
	 * @author Xiaopeng
	 * @date 2015-1-25
	 */
	public Map<String, TempPointDataStatisExtendQuery> queryTpdStatisExtend(List<ITempPointDataStatistics> 
			tpdStatisList) throws Exception;
}
